﻿using System.Windows;
using Windows.Foundation.Metadata;
using Newtonsoft.Json;

namespace BlogApp.Data
{
    public static class Statics
    {
        public const int POST_COUNT = 15;
        public const string TEMPFILE_NAME = "tempfile.html";

        public const string CONTENT_TEMPLATE = "<style> #contentContainer {{background-color: {0}; padding:20px 45px 40px 50px;}} h1, h2, h3 {{ color: {1}; font-family:Segoe WP;}} p {{color: {2}; font-family:Segoe WP; font-size:13px; }} </style> <div id=\"contentContainer\">{3}</div>";

        public const string COMMENT_HEADER_TEMPLATE = "<h3 style=\"margin-top:12px;\">Kommentare</h3>";
        public const string COMMENT_TEMPLATE = "<div style=\"margin-top:20px;\"><h4 style=\"font-weight:normal; color: {0}; \">{1}</h4><p>{2}</p></div>";

        public static readonly string[] IMAGE_FILE_EXTENSIONS = new[] { "bmp", "gif", "dib", "tga", "jpf", "jpx", "jpm", "mj2", "tif", "tiff", "raw", "png", "jpg", "jpeg", "jke", "jif", "jfi", "jp2", "j2k", "raf", "3fr", "kdc", "dcr", "k25", "mrw", "mef", "nef", "orf", "rw2", "rwl", "pef", "srw", "arw", "srf", "sr2", "crw", "cr2", "erp" };
    }
}